import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import {FcompComponent} from './fcomp/fcomp.component';
import {ScompComponent} from './scomp/scomp.component';
import {CommunicateCompComponent} from './communicate-comp/communicate-comp.component';
const routes: Routes = [
  {path: 'fcomp', component: FcompComponent},
  {path: 'scomp', component: ScompComponent},
  {path: 'commcomp', component: CommunicateCompComponent}
]
@NgModule({
  imports: [
    // CommonModule
    RouterModule.forRoot(routes)
  ],
  // declarations: [],
  exports: [RouterModule]
})
export class AppRoutingModule { }
